package com.dashen.sso.client.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @auther barry
 * @date 2019/1/20
 */
@Controller
public class WelcomeController {

    @RequestMapping("/")
    @ResponseBody
    public String root(){
        return "have authorized,  is root page";
    }

    @RequestMapping("/welcome/home")
    @ResponseBody
    public String home(){
        return "have authorized, is home page";
    }
}
